<h2 class="contentTitle">编写工作日志</h2>

<div class="pageContent">

	<form method="post" action="__URL__/update/navTabId/__MODULE__?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone)">
		<input type="hidden" name="user_id" value="{$vo.user_id}"/>

		<div class="pageFormContent" layoutH="98">
			
			<dl>
				<dt>昵称：</dt>
				<dd><input type="text" name="nickname" value="{$vo.user_id|attrById='user','nickname',###}" disabled></dd>
			</dl>
            <dl>
                <dt>日期：</dt>
                <dd>
					<input id="dailyTask_taskDate" type="text" name="task_date" value="{$vo.task_date}" readonly class="date required">
                	<a class="inputDateButton" href="javascript:;">选择</a>
					<a class="unit" style="font-weight: bold; color:red;" href="__URL__/edit/user_id/{$vo.user_id}/task_date/{dailyTask_taskDate}" target="navTab" rel="DailyTaskOpt" title="写工作日志"><span>Reload</span></a>
				</dd>
            </dl>
            <dl class="nowrap">
                <dt>内容：</dt>
                <dd><textarea class="required" name="content" rows="10" cols="85" onkeydown="checkTextareaFormSubmit(this)">{$vo.content}</textarea>
                <span class="info">内容：纯文本，一行写一个工作任务，提交快捷键Ctrl+Enter</span></dd>
			</dl>

		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><a class="button" href="__URL__" target="navTab" rel="DailyTask"><span>返回列表</span></a></li>
                <li><a class="button" href="__URL__/weeklyReport/department/{$_SESSION[C('USER_AUTH_KEY')]|attrById='user','department',###}" target="navTab" rel="DailyTask"><span>查看工作周报</span></a></li>
            </ul>
		</div>
	</form>
	
</div>

